package com.srlg.liteflow.init;

import com.yomahub.liteflow.builder.LiteFlowNodeBuilder;

public class CmpInit {

    public static void runStartupLogic() {
        System.out.println("Custom startup logic (not a Spring Bean).");
        // 你的初始化逻辑

        LiteFlowNodeBuilder.createCommonNode()
                .setId("ja")
                .setName("node a")
                .setClazz("com.srlg.liteflow.cmp.JavaConfig")
                .build();
    }
}
